package com.bf.electroplating.pojo.dto.renovate;

import com.bf.electroplating.pojo.vo.attachment.AttachmentVo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "整改问题新增DTO")
public class ControlProblemRenovateAddDTO {

    @Schema(description = "企业名称")
    @NotBlank(message = "企业名称不能为空")
    private String companyId;

    @Schema(description = "问题点位")
    @NotBlank(message = "问题点位不能为空")
    private String problemLocation;

    @Schema(description = "问题描述")
    @NotBlank(message = "问题描述不能为空")
    private String problemDescription;

    @Schema(description = "整改建议")
    private String suggest;

    @Schema(description = "整改期限")
    @NotBlank(message = "整改期限不能为空")
    private String timeLimit;

    @Schema(description = "问题照片")
    private List<AttachmentVo> photoList;
}